demoName='circletest';
switch(demoName)

case 'circletest'
filename='..\..\..\..\..\images\generalTest\circleHollow.png';
%filename='..\..\..\..\..\images\generalTest\circletest.png';
im=imread(filename);
im_original=im;
im=double(im);
[fx fy] = AM_gradient(im);
im=sqrt(fx.^2+fy.^2);
im(im>0)=255;

verbose_plot_path='.'
cs='vfc'  % The type of prcessing vfc, gvf
    
%GVF settings
mu = .2;
GVF_ITER = 100;
normalize = 1;
    
%for the deforming of the vertices
alpha = .5;
beta = 0;
tau = .5;    
SNAKE_ITER = 5;

%How many times to run the simulation
SNAKE_ITER1 = 10;
  
% circle [cx cy r] centered at [cx cy] with radius r
%'rect', [xmin xmax ymin ymax]
init_shape='circle';   % circle or rect    
init_size=[50 50 30];

case 'im_Unoisy'
filename='..\..\..\..\..\images\generalTest\im_Unoisy.bmp';
im=imread(filename);
verbose_plot_path='.'
cs='gvf'  % The type of prcessing vfc, gvf
    
%GVF settings
mu = .2;
GVF_ITER = 100;
normalize = 1;
    
%for the deforming of the vertices
alpha = .5;
beta = 0;
tau = .5;    
SNAKE_ITER = 5;

%How many times to run the simulation
SNAKE_ITER1 = 60;
  
% circle [cx cy r] centered at [cx cy] with radius r
%'rect', [xmin xmax ymin ymax]
init_shape='circle';   % circle or rect    
init_size=[32 32 20];

otherwise
error(['Invalid choice of ' demoName ])
end


AC_UVA(im,verbose_plot_path,cs,mu,GVF_ITER,normalize,alpha,beta,tau,SNAKE_ITER,SNAKE_ITER1,init_shape,init_size,im_original);